/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.fyx.linker.controll;

import java.util.List;
import javax.ejb.Local;
import org.fyx.linker.entity.LinkerCategory;

/**
 *
 * @author xljan
 */
@Local
public interface LinkerCategoryFacadeLocal {

    void create(LinkerCategory linkerCategory);

    void edit(LinkerCategory linkerCategory);

    void remove(LinkerCategory linkerCategory);

    LinkerCategory find(Object id);
    
    List<LinkerCategory> findByParent(LinkerCategory parent);
    
    LinkerCategory findRoot();
    
    LinkerCategory getTree();

    List<LinkerCategory> findAll();

    List<LinkerCategory> findRange(int[] range);

    int count();
    
    void removeAll();
    
}
